package com.tengfei.blogsystem.service;

import com.tengfei.blogsystem.pojo.Article;
import com.tengfei.blogsystem.response.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @version v1.0
 * @author} feige
 * @date 2021-10-28-19:27
 * @description
 */
public interface IArticleService {
    ResponseResult postArticle(Article article, HttpServletRequest request, HttpServletResponse response);

    ResponseResult listArticle(int page, int size, String state, String keywords, String categoryId);

    ResponseResult getArticle(String articleId, HttpServletRequest request, HttpServletResponse response);
}
